#include "helpers.h"

float Ranf( float low, float high )
{
	float r = (float) rand();               // 0 - RAND_MAX
	float t = r  /  (float) RAND_MAX;       // 0. - 1.
	
	return   low  +  t * ( high - low );
}

/*int Ranf( int ilow, int ihigh )
{
	float low = (float)ilow;
	float high = (float)ihigh + 0.9999f;
	
	return (int)(  Ranf(low,high) );
}*/